package com.revel.cloud.nacos.example.service.trade;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @author : revel
 * @Date: 2022/6/1 17:54
 * @Description: 订单服务接口 trade-order-service
 */
@FeignClient(name = "nacos-provide")
public interface OrderService {

    /**
     * 获取接口列表
     * @return list
     */
    @RequestMapping("/order/findOrderList")
    List<Map<String, Object>> findOrderList();
}
